<?php
include ('chek.php');
var_dump($_FILES);
$dir="../Datafile/";
if($_FILES['imgFile']){
    if($_FILES['error']==0){
        $is=move_uploaded_file($_FILES['tmp_name'], $dir);
        if(!$is){
            die('上传失败！');
        }
    }
}